﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interface_Tier;
using Transfer_Object_Tier;
using System.Data;
using Data_Access_Tier;

namespace Business_Tier
{
    public class BT_DanToc : MarshalByRefObject, IDIC_ETHNICData
    {
        DIC_ETHNICData dantoc = new DIC_ETHNICData();
        public int DIC_ETHNIC_Delete(string EthnicCode)
        {
            return dantoc.DIC_ETHNIC_Delete(EthnicCode);
        }
        public int DIC_ETHNIC_Disable(string EthnicCode, ref bool Enabled)
        {
            return 1;
        }
        public System.Data.DataSet DIC_ETHNIC_Get(string EthnicCode)
        {
            return dantoc.DIC_ETHNIC_Get(EthnicCode);
        }
        public System.Data.DataSet DIC_ETHNIC_GetList()
        {
            return dantoc.DIC_ETHNIC_GetList();
        }
        public int DIC_ETHNIC_Insert(string EthnicCode, string EthnicName, string Description, bool Active)
        {
            return dantoc.DIC_ETHNIC_Insert(EthnicCode,EthnicName,Description,Active);
        }
        public int DIC_ETHNIC_Save(string EthnicCode, string EthnicName, string Description, bool Active)
        {
            return dantoc.DIC_ETHNIC_Save(EthnicCode,EthnicName,Description,Active);
        }
        public int DIC_ETHNIC_Update(string EthnicCode, string EthnicName, string Description, bool Active)
        {
            return dantoc.DIC_ETHNIC_Update(EthnicCode,EthnicName,Description,Active);
        }

        public DataSet DIC_ETHNIC_Search(String EthnicCode, String EthnicName, String Description)
        {
            return dantoc.DIC_ETHNIC_Search(EthnicCode,EthnicName,Description);
        }
    }
}
